package com.njtoyo.taxi.admin.rest.presenter.local_service.merchant;

import com.njtoyo.taxi.admin.mapper.master.enums.local_service.LifeAddressCategory;
import com.njtoyo.taxi.admin.mapper.master.enums.local_service.LifeMerchantAccountRoleLevel;
import com.njtoyo.taxi.admin.mapper.master.enums.local_service.LifeMerchantAccountState;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class LifeMerchantAccountPresenter {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "商户表ID")
    private Long merchantId;

    @ApiModelProperty(value = "商户名称")
    private String MerchantName;

    @ApiModelProperty(value = "手机号")
    private String mobileNumber;

    @ApiModelProperty(value = "头像URL")
    private String avatarUrl;

    @ApiModelProperty(value = "真实姓名")
    private String name;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "open_id")
    private String wxOpenId;

    @ApiModelProperty(value = "角色等级 0:admin[店长],1:emp[员工]")
    private LifeMerchantAccountRoleLevel roleLevel;

    @ApiModelProperty(value = "状态 0:active[激活],1:freeze_up[冻结]")
    private LifeMerchantAccountState state;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "修改时间")
    private Date updatedAt;

    @ApiModelProperty(value = "地址类型 0:merchant_address[商家地址],1:pickup_location[自提点]")
    private LifeAddressCategory category;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "地址id")
    private Long addressId;

    @ApiModelProperty(value = "自提点名称")
    private String addressName;

}
